package com.qingzhou.web.service.impl.params.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.qingzhou.web.service.impl.convert.DictConverter;
import com.qingzhou.web.service.impl.convert.DictParent;
import com.qingzhou.web.service.impl.convert.TestItemConverter;
import com.qingzhou.web.service.impl.convert.UserConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class VisitExcelVo {
    @ExcelProperty(value = "状态" ,converter = DictConverter.class)
    @DictParent("multi_center_sys_status")
    private String status;
    @ExcelProperty(value = "医院Site" ,converter = DictConverter.class)
    @DictParent("hospital_site_dict")
    private String hospitalSite;
    @ExcelProperty("患者姓名")
    private String patientName;
    @ExcelProperty(value = "患者编号")
    private String patientCode;
    @ExcelProperty(value = "所属队列", converter = DictConverter.class)
    @DictParent("belong_queue_dict")
    private String belongQueue;
    @ExcelProperty(value = "检测项目", converter = TestItemConverter.class)
    private String testItem;

    @ExcelProperty(value = "随访时间")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date followTime;

    @ExcelProperty(value = "检查时间",converter = DictConverter.class)
    @DictParent("test_time_dict")
    private String testTime;

    @ExcelProperty(value = "是否复发",converter = DictConverter.class)
    @DictParent("sys_yes_no")
    private String relapse;

    @ExcelProperty(value = "随访状态",converter = DictConverter.class)
    @DictParent("patient_status")
    private String patientStatus;

    @ExcelProperty(value = "手术并发症",converter = DictConverter.class)
    @DictParent("surgical_complication_dict")
    private String surgicalComplications;

    @ExcelProperty("其他并发症")
    private String otherComplications;

    @ExcelProperty("复发/转移诊断日期")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date recurrenceMetastasisDate;

    @ExcelProperty(value = "是否获得非手术病理",converter = DictConverter.class)
    @DictParent("sys_yes_no")
    private String hasBiopsyPathology;

    @ExcelProperty(value = "无病生存期 (DFS)")
    private String dfs;

    @ExcelProperty(value = "生存情况",converter = DictConverter.class)
    @DictParent("sys_life_status")
    private String lifeStatus;

    @ExcelProperty(value = "死亡时间")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date deathTime;

    @ExcelProperty(value = "死亡原因")
    private String deathReason;

    @ExcelProperty(value = "总生存期 (OS)")
    private String os;

    @ExcelProperty("数据检查原因")
    private String editReason;

    @ExcelProperty("终止原因")
    private String stopReason;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty(value="创建人",converter = UserConverter.class)
    private String createBy;

    @ExcelProperty("创建时间")
    private Date createTime;
}
